package com.cyh.core.framework.service.util.impl;

import com.cyh.core.framework.service.util.IUtilService;
import com.cyh.core.framework.common.utils.RedisUtil;
import com.cyh.core.framework.common.utils.RestTemplateUtil;
import com.cyh.core.framework.common.utils.UserTokenUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UtilServiceImpl implements IUtilService {

    @Autowired
    UserTokenUtil userTokenUtil;

    @Autowired
    RedisUtil redisUtil;

    @Autowired
    RestTemplateUtil restTemplateUtil;


    @Override
    public RedisUtil getRedisUtil() {
        return redisUtil;
    }

    @Override
    public UserTokenUtil getUserTokenUtil() {
        return userTokenUtil;
    }

    @Override
    public RestTemplateUtil getRestTemplateUtil(){
        return restTemplateUtil;
    }

}
